Edit Resources: Accommodation
Description
The Accommodation attribute under EditResource defines the maximum amount of tasks that a resource is able to handle at once.
Parameters
Parameter | Description |
---|---|
MaxAccommodations | An integer value that represents the maximum accommodation of the resource. If the value is <0 then the accommodation will be set to unlimited. |
Examples
Adjust accommodation for FUSE. The maximum amount of tasks that FUSE is able to handle is now 4 tasks.
PATCH api/resource/FUSE
Body:
{
"MaxAccommodations" : "4"
}
Allow unlimited accommodation for SSR. The resource SSR is able to handle an unlimited number of tasks at once.
PATCH api/resource/SSR
Body:
{
"MaxAccommodations" : "-1"
}